// 错误示例
enum Direction {
  UP,
  DOWN,
}

enum Status {
  OPEN = 2,
  CLOSE,
}

// 正确示例
enum Direction2 {
  UP = 0,
  DOWN = 1,
}

enum Status2 {
  OPEN = 2,
  CLOSE = 3,
}
